package com.luo.chengrui.module.sa.convert.datapermission;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.luo.chengrui.module.sa.controller.admin.datapermission.vo.*;
import com.luo.chengrui.module.sa.dal.dataobject.datapermission.DataPermissionDetailDO;

/**
 * 数据权限明细 Convert
 *
 * @author 诚睿
 */
@Mapper
public interface DataPermissionDetailConvert {

    DataPermissionDetailConvert INSTANCE = Mappers.getMapper(DataPermissionDetailConvert.class);

    DataPermissionDetailDO convert(DataPermissionDetailCreateReqVO bean);

    DataPermissionDetailDO convert(DataPermissionDetailUpdateReqVO bean);

    DataPermissionDetailRespVO convert(DataPermissionDetailDO bean);

    List<DataPermissionDetailRespVO> convertList(List<DataPermissionDetailDO> list);

    PageResult<DataPermissionDetailRespVO> convertPage(PageResult<DataPermissionDetailDO> page);

    List<DataPermissionDetailExcelVO> convertList02(List<DataPermissionDetailDO> list);

}
